runtime.sudog.ticket (field)
18 uses
runtime (current package)
runtime2.go#L373: ticket uint32
sema.go#L136: s.ticket = 0
sema.go#L161: if s.ticket != 0 || cansemacquire(addr) {
sema.go#L204: if s.ticket != 0 {
sema.go#L208: s.ticket = 1
sema.go#L211: if s.ticket == 1 && getg().m.locks == 0 {
sema.go#L260: s.ticket = t.ticket
sema.go#L312: s.ticket = fastrand() | 1
sema.go#L317: for s.parent != nil && s.parent.ticket > s.ticket {
sema.go#L356: t.ticket = s.ticket
sema.go#L377: if s.next == nil || s.prev != nil && s.prev.ticket < s.next.ticket {
sema.go#L398: s.ticket = 0
sema.go#L514: s.ticket = t
sema.go#L603: if s.ticket == t {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |